package com.adcc.ags.cgw.entity.user;

import com.google.common.base.Strings;

/**
 * 下行路由实体
 */
public class DownlinkRoute extends Route{

    // 发送地址
    private String sendAddress = Strings.nullToEmpty("");

    // 接收地址
    private String[] recvAddress = new String[]{};

    // SMI
    private String[] smi = new String[]{};

    // 航班号
    private String[] fi = new String[]{};

    // 机尾号
    private String[] an = new String[]{};

    // RGS站
    private String[] rgs = new String[]{};

    // 特殊字符
    private SpecLabel specLabel = new SpecLabel();

    /**
     * 构造函数
     */
    public DownlinkRoute(){
        super();
    }

    /**
     * 构造函数
     * @param id
     * @param name
     */
    public DownlinkRoute(String id,String name){
        super(id,name);
    }

    /**
     * 构造函数
     * @param id
     * @param name
     * @param type
     */
    public DownlinkRoute(String id,String name,RouteType type){
        super(id,name,type);
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String[] getRecvAddress() {
        return recvAddress;
    }

    public void setRecvAddress(String[] recvAddress) {
        this.recvAddress = recvAddress;
    }

    public String[] getSmi() {
        return smi;
    }

    public void setSmi(String[] smi) {
        this.smi = smi;
    }

    public String[] getFi() {
        return fi;
    }

    public void setFi(String[] fi) {
        this.fi = fi;
    }

    public String[] getAn() {
        return an;
    }

    public void setAn(String[] an) {
        this.an = an;
    }

    public String[] getRgs() {
        return rgs;
    }

    public void setRgs(String[] rgs) {
        this.rgs = rgs;
    }

    public SpecLabel getSpecLabel() {
        return specLabel;
    }

    public void setSpecLabel(SpecLabel specLabel) {
        this.specLabel = specLabel;
    }
}
